package com.ruoyi.constroller;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.ThreadLocalUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("article")
public class ArticleController {
    @GetMapping("getArticleList")
    public AjaxResult getArticleList() {
        String userId = ThreadLocalUtil.get();
        return AjaxResult.success(userId);
    }
}
